{extends file="main.tpl"}
{block name=body}
	<h2 align="center">Add Party</h2>
  <form action="party.php" method="post">
  	<input type="hidden" name="partyId" value="{$editArray.partyId}">
  <table border=0 align="center">
  	<tr>
  		<td colspan=2>PARTY NAME :</td>
  		<td  colspan=2><input type="text" name="partyName" value="{$editArray.partyName}" size=80 autofocus=autofocus><td>
  	</tr>
  	<tr>
  		<td colspan=2>MOBILE 1:</td>
  		<td colspan=2><input type="text" name="mobile1"  value="{$editArray.mobile1}"  size=80></td>
    </tr>
    <tr>
    	<td colspan=2>MOBILE 2:</td>
      <td colspan=2><input type="text" name="mobile2"  value="{$editArray.mobile2}"  size=80></td>
    </tr>
    <tr>
    	<td colspan=2>ADD 1:</td>
    	<td colspan=2><input type="text" name="add1"  value="{$editArray.add1}" size=80></td>
    </tr>
    <tr>
    	<td colspan=2>ADD 2:</td>
    	<td colspan=2><input type="text" name="add2"  value="{$editArray.add2}" size=80></td>
    </tr>
    <tr>
    	<td>TA:</td>
    	<td><input type="text" name="taluko"  value="{$editArray.taluko}" size=8></td>
    	<td>DIST:</td>
    	<td><input type="text" name="dist"  value="{$editArray.dist}" size=20></td>
    </tr>
    <tr>
    	<td>CITY:</td>
    	<td>
    		<select name=cityId required=required />
    	  <option value="">Select</option>
    	  	{html_options values=$cityArray.cityId output=$cityArray.city selected=$editArray.cityId}
    	  </select>
    	</td>
    	<td>PIN:</td>
    	<td><input type="text" name="pin"  value="{$editArray.pin}" size=10></td>
    </tr>
    <tr>
		  <td colspan=3></td>
		  <td><br><input type="submit" name="submitBtn" value="Submit"></td>
	  </tr>
  </table>
  </form>
{/block}